package demo02;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Scanner;

public class Mag {
    static Scanner scanner = new Scanner(System.in);
    public static void main(String[] args) {
        while (true){
            HashMap<String, ArrayList<String>> hashMap = new HashMap<>();


            ArrayList arrayList = new ArrayList<>();
            arrayList.add("昭通，曲靖，昆明，文山，德宏，保山");

            ArrayList arrayList1 = new ArrayList<>();
            arrayList.add("安庆，毫州，池州，淮南，黄山，合肥");

            ArrayList arrayList2 = new ArrayList<>();
            arrayList2.add("白银，定西，甘南，兰州，庆阳，天水");

            ArrayList arrayList3 = new ArrayList<>();
            arrayList.add("德州，东营，济宁，济南，青岛，日照");

            hashMap.put("云南",arrayList);
            hashMap.put("安徽",arrayList1);
            hashMap.put("甘肃",arrayList2);
            hashMap.put("山东",arrayList3);

            String next = scanner.next();
            ArrayList<String> strings = hashMap.get(next);
            System.out.println(strings);


        }
    }
}
